package com.itheima.pojo;

import java.io.Serializable;
import java.util.Date;

public class PermissionTime implements Serializable {
    private Integer id;
    private String name;//权限名
    private String keyword;//权限关键字
    private Date creation_time;//权限日期
    private String start;//权限是,否
    private String description;//说明

    public PermissionTime() {
    }

    public PermissionTime(Integer id, String name, String keyword, Date creation_time, String start, String description) {
        this.id = id;
        this.name = name;
        this.keyword = keyword;
        this.creation_time = creation_time;
        this.start = start;
        this.description = description;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public Date getCreation_time() {
        return creation_time;
    }

    public void setCreation_time(Date creation_time) {
        this.creation_time = creation_time;
    }

    public String getStart() {
        return start;
    }

    public void setStart(String start) {
        this.start = start;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    @Override
    public String toString() {
        return "PermissionTime{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", keyword='" + keyword + '\'' +
                ", creation_time=" + creation_time +
                ", start='" + start + '\'' +
                ", description='" + description + '\'' +
                '}';
    }
}
